Optimal. Leaf size=170 \[ a x+\frac{b \log \left (c^{2/3} x-\sqrt [3]{c} \sqrt{x}+1\right )}{4 c^{2/3}}-\frac{b \log \left (c^{2/3} x+\sqrt [3]{c} \sqrt{x}+1\right )}{4 c^{2/3}}-\frac{\sqrt{3} b \tan ^{-1}\left (\frac{1-2 \sqrt [3]{c} \sqrt{x}}{\sqrt{3}}\right )}{2 c^{2/3}}+\frac{\sqrt{3} b \tan ^{-1}\left (\frac{2 \sqrt [3]{c} \sqrt{x}+1}{\sqrt{3}}\right )}{2 c^{2/3}}-\frac{b \tanh ^{-1}\left (\sqrt [3]{c} \sqrt{x}\right )}{c^{2/3}}+b x \tanh ^{-1}\left (c x^{3/2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.287018, antiderivative size = 170, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 8, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.667, Rules used = {6091, 329, 296, 634, 618, 204, 628, 206} \[ a x+\frac{b \log \left (c^{2/3} x-\sqrt [3]{c} \sqrt{x}+1\right )}{4 c^{2/3}}-\frac{b \log \left (c^{2/3} x+\sqrt [3]{c} \sqrt{x}+1\right )}{4 c^{2/3}}-\frac{\sqrt{3} b \tan ^{-1}\left (\frac{1-2 \sqrt [3]{c} \sqrt{x}}{\sqrt{3}}\right )}{2 c^{2/3}}+\frac{\sqrt{3} b \tan ^{-1}\left (\frac{2 \sqrt [3]{c} \sqrt{x}+1}{\sqrt{3}}\right )}{2 c^{2/3}}-\frac{b \tanh ^{-1}\left (\sqrt [3]{c} \sqrt{x}\right )}{c^{2/3}}+b x \tanh ^{-1}\left (c x^{3/2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6091
Rule 329
Rule 296
Rule 634
Rule 618
Rule 204
Rule 628
Rule 206
Rubi steps
\begin{align*} \int \left (a+b \tanh ^{-1}\left (c x^{3/2}\right )\right ) \, dx &=a x+b \int \tanh ^{-1}\left (c x^{3/2}\right ) \, dx\\ &=a x+b x \tanh ^{-1}\left (c x^{3/2}\right )-\frac{1}{2} (3 b c) \int \frac{x^{3/2}}{1-c^2 x^3} \, dx\\ &=a x+b x \tanh ^{-1}\left (c x^{3/2}\right )-(3 b c) \operatorname{Subst}\left (\int \frac{x^4}{1-c^2 x^6} \, dx,x,\sqrt{x}\right )\\ &=a x+b x \tanh ^{-1}\left (c x^{3/2}\right )-\frac{b \operatorname{Subst}\left (\int \frac{1}{1-c^{2/3} x^2} \, dx,x,\sqrt{x}\right )}{\sqrt [3]{c}}-\frac{b \operatorname{Subst}\left (\int \frac{-\frac{1}{2}-\frac{\sqrt [3]{c} x}{2}}{1-\sqrt [3]{c} x+c^{2/3} x^2} \, dx,x,\sqrt{x}\right )}{\sqrt [3]{c}}-\frac{b \operatorname{Subst}\left (\int \frac{-\frac{1}{2}+\frac{\sqrt [3]{c} x}{2}}{1+\sqrt [3]{c} x+c^{2/3} x^2} \, dx,x,\sqrt{x}\right )}{\sqrt [3]{c}}\\ &=a x-\frac{b \tanh ^{-1}\left (\sqrt [3]{c} \sqrt{x}\right )}{c^{2/3}}+b x \tanh ^{-1}\left (c x^{3/2}\right )+\frac{b \operatorname{Subst}\left (\int \frac{-\sqrt [3]{c}+2 c^{2/3} x}{1-\sqrt [3]{c} x+c^{2/3} x^2} \, dx,x,\sqrt{x}\right )}{4 c^{2/3}}-\frac{b \operatorname{Subst}\left (\int \frac{\sqrt [3]{c}+2 c^{2/3} x}{1+\sqrt [3]{c} x+c^{2/3} x^2} \, dx,x,\sqrt{x}\right )}{4 c^{2/3}}+\frac{(3 b) \operatorname{Subst}\left (\int \frac{1}{1-\sqrt [3]{c} x+c^{2/3} x^2} \, dx,x,\sqrt{x}\right )}{4 \sqrt [3]{c}}+\frac{(3 b) \operatorname{Subst}\left (\int \frac{1}{1+\sqrt [3]{c} x+c^{2/3} x^2} \, dx,x,\sqrt{x}\right )}{4 \sqrt [3]{c}}\\ &=a x-\frac{b \tanh ^{-1}\left (\sqrt [3]{c} \sqrt{x}\right )}{c^{2/3}}+b x \tanh ^{-1}\left (c x^{3/2}\right )+\frac{b \log \left (1-\sqrt [3]{c} \sqrt{x}+c^{2/3} x\right )}{4 c^{2/3}}-\frac{b \log \left (1+\sqrt [3]{c} \sqrt{x}+c^{2/3} x\right )}{4 c^{2/3}}+\frac{(3 b) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-2 \sqrt [3]{c} \sqrt{x}\right )}{2 c^{2/3}}-\frac{(3 b) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1+2 \sqrt [3]{c} \sqrt{x}\right )}{2 c^{2/3}}\\ &=a x-\frac{\sqrt{3} b \tan ^{-1}\left (\frac{1-2 \sqrt [3]{c} \sqrt{x}}{\sqrt{3}}\right )}{2 c^{2/3}}+\frac{\sqrt{3} b \tan ^{-1}\left (\frac{1+2 \sqrt [3]{c} \sqrt{x}}{\sqrt{3}}\right )}{2 c^{2/3}}-\frac{b \tanh ^{-1}\left (\sqrt [3]{c} \sqrt{x}\right )}{c^{2/3}}+b x \tanh ^{-1}\left (c x^{3/2}\right )+\frac{b \log \left (1-\sqrt [3]{c} \sqrt{x}+c^{2/3} x\right )}{4 c^{2/3}}-\frac{b \log \left (1+\sqrt [3]{c} \sqrt{x}+c^{2/3} x\right )}{4 c^{2/3}}\\ \end{align*}
Mathematica [A] time = 0.100893, size = 141, normalized size = 0.83 \[ a x-\frac{b \left (-\log \left (c^{2/3} x-\sqrt [3]{c} \sqrt{x}+1\right )+\log \left (c^{2/3} x+\sqrt [3]{c} \sqrt{x}+1\right )+2 \sqrt{3} \tan ^{-1}\left (\frac{1-2 \sqrt [3]{c} \sqrt{x}}{\sqrt{3}}\right )-2 \sqrt{3} \tan ^{-1}\left (\frac{2 \sqrt [3]{c} \sqrt{x}+1}{\sqrt{3}}\right )+4 \tanh ^{-1}\left (\sqrt [3]{c} \sqrt{x}\right )\right )}{4 c^{2/3}}+b x \tanh ^{-1}\left (c x^{3/2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.032, size = 179, normalized size = 1.1 \begin{align*} ax+bx{\it Artanh} \left ( c{x}^{{\frac{3}{2}}} \right ) +{\frac{b}{2\,c}\ln \left ( \sqrt{x}-\sqrt [3]{{c}^{-1}} \right ){\frac{1}{\sqrt [3]{{c}^{-1}}}}}-{\frac{b}{4\,c}\ln \left ( x+\sqrt [3]{{c}^{-1}}\sqrt{x}+ \left ({c}^{-1} \right ) ^{{\frac{2}{3}}} \right ){\frac{1}{\sqrt [3]{{c}^{-1}}}}}+{\frac{b\sqrt{3}}{2\,c}\arctan \left ({\frac{\sqrt{3}}{3} \left ( 2\,{\frac{\sqrt{x}}{\sqrt [3]{{c}^{-1}}}}+1 \right ) } \right ){\frac{1}{\sqrt [3]{{c}^{-1}}}}}-{\frac{b}{2\,c}\ln \left ( \sqrt{x}+\sqrt [3]{{c}^{-1}} \right ){\frac{1}{\sqrt [3]{{c}^{-1}}}}}+{\frac{b}{4\,c}\ln \left ( x-\sqrt [3]{{c}^{-1}}\sqrt{x}+ \left ({c}^{-1} \right ) ^{{\frac{2}{3}}} \right ){\frac{1}{\sqrt [3]{{c}^{-1}}}}}+{\frac{b\sqrt{3}}{2\,c}\arctan \left ({\frac{\sqrt{3}}{3} \left ( 2\,{\frac{\sqrt{x}}{\sqrt [3]{{c}^{-1}}}}-1 \right ) } \right ){\frac{1}{\sqrt [3]{{c}^{-1}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] time = 10.7687, size = 4289, normalized size = 25.23 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.19899, size = 251, normalized size = 1.48 \begin{align*} \frac{1}{4} \,{\left (c{\left (\frac{2 \, \sqrt{3}{\left | c \right |}^{\frac{1}{3}} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, \sqrt{x} + \frac{1}{{\left | c \right |}^{\frac{1}{3}}}\right )}{\left | c \right |}^{\frac{1}{3}}\right )}{c^{2}} + \frac{2 \, \sqrt{3}{\left | c \right |}^{\frac{1}{3}} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, \sqrt{x} - \frac{1}{{\left | c \right |}^{\frac{1}{3}}}\right )}{\left | c \right |}^{\frac{1}{3}}\right )}{c^{2}} - \frac{{\left | c \right |}^{\frac{1}{3}} \log \left (x + \frac{\sqrt{x}}{{\left | c \right |}^{\frac{1}{3}}} + \frac{1}{{\left | c \right |}^{\frac{2}{3}}}\right )}{c^{2}} + \frac{{\left | c \right |}^{\frac{1}{3}} \log \left (x - \frac{\sqrt{x}}{{\left | c \right |}^{\frac{1}{3}}} + \frac{1}{{\left | c \right |}^{\frac{2}{3}}}\right )}{c^{2}} - \frac{2 \,{\left | c \right |}^{\frac{1}{3}} \log \left (\sqrt{x} + \frac{1}{{\left | c \right |}^{\frac{1}{3}}}\right )}{c^{2}} + \frac{2 \,{\left | c \right |}^{\frac{1}{3}} \log \left ({\left | \sqrt{x} - \frac{1}{{\left | c \right |}^{\frac{1}{3}}} \right |}\right )}{c^{2}}\right )} + 2 \, x \log \left (-\frac{c x^{\frac{3}{2}} + 1}{c x^{\frac{3}{2}} - 1}\right )\right )} b + a x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]